GutterLines.hasClass

Checks to see if [method@GutterLines.add_class] was called with the @name for @line.

A faster version of this function is provided via [method@GutterLines.has_qclass] for situations where the quark is known ahead of time.

class GutterLines
bool
hasClass
(
uint line
,
string name
)

Parameters

line uint

a line number starting from zero

name string

a class name that may be converted, to a #GQuark

Return Value

Type: bool

%TRUE if @line contains @name

Meta